package syntaxTree.program;

import syntaxTree.mainClass.*;
import syntaxTree.classDecl.*;

public class programMain extends program{
	mainClass mainn;
	classDecl clas;
	public programMain(mainClass mainn, classDecl clas)
	{
		this.mainn = mainn;
		this.clas = clas;
	}
	public programMain(mainClass mainn)
	{
		this.mainn = mainn;
		this.clas = new classDeclInit();
	}
	public String toString()
	{
		return (clas.toString()+mainn.toString());
	}
	public String toC()
	{
		return (clas.toC()+mainn.toC());
	}
}
